package com.hdy.orderforthree.widget;

import android.content.Context;
import android.view.View;
import android.widget.TextView;

import com.hdy.orderforthree.R;
import com.hdy.orderforthree.R2;

import butterknife.BindView;

public class BillBasePop extends CenterContentBasePop {

    @BindView(R2.id.bill_order)
    TextView mContinueOrder;
    @BindView(R2.id.confirm_order)
    TextView mConfirmOrder;

    public BillBasePop(Context context) {
        super(R.layout.bill_layout, context);
        initView();
    }

    private void initView() {
        mContinueOrder.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                if (mUpdateViewCallback != null) {
                    mUpdateViewCallback.showPop(ConcretePopFactory.ORDER_POP);
                }

            }
        });

        mConfirmOrder.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

            }
        });
    }
}
